import {createApp} from 'vue'
import App from './App.vue'
import router from "@/router/index.js";
import ElementPlus from "element-plus";
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import 'element-plus/dist/index.css'
import store from "@/store/Store.js";
import axios from 'axios';

const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.config.globalProperties.$http = axios;
app.use(ElementPlus)
app.use(store)
app.use(router)
app.mount('#app')

window.axios = axios;
